import "@site/src/languages/highlight";

# View

**Description:**

&emsp;&emsp;A record that provides access to the 3D graphic view.

## size

**Type:** Readonly Field.

**Description:**

&emsp;&emsp;The size of the view in pixels.

**Signature:**
```tl
const size: Size
```

## standardDistance

**Type:** Readonly Field.

**Description:**

&emsp;&emsp;The standard distance of the view from the origin.

**Signature:**
```tl
const standardDistance: number
```

## aspectRatio

**Type:** Readonly Field.

**Description:**

&emsp;&emsp;The aspect ratio of the view.

**Signature:**
```tl
const aspectRatio: number
```

## nearPlaneDistance

**Type:** Field.

**Description:**

&emsp;&emsp;The distance to the near clipping plane.

**Signature:**
```tl
nearPlaneDistance: number
```

## farPlaneDistance

**Type:** Field.

**Description:**

&emsp;&emsp;The distance to the far clipping plane.

**Signature:**
```tl
farPlaneDistance: number
```

## fieldOfView

**Type:** Field.

**Description:**

&emsp;&emsp;The field of view of the view in degrees.

**Signature:**
```tl
fieldOfView: number
```

## scale

**Type:** Field.

**Description:**

&emsp;&emsp;The scale factor of the view.

**Signature:**
```tl
scale: number
```

## postEffect

**Type:** Field.

**Description:**

&emsp;&emsp;The post effect applied to the view.

**Signature:**
```tl
postEffect: SpriteEffect
```

## vsync

**Type:** Field.

**Description:**

&emsp;&emsp;Whether or not vertical sync is enabled.

**Signature:**
```tl
vsync: boolean
```